Get Odometer Data

  • Function:

    go.get_odometer_data()
    
  • Description: get odometer data, namely the current position coordinate and heading angle of Magician Go

  • Required parameter: null

  • Return: {x, y, yaw}
    • x: x-axis coordinate; data type: float; unit: cm
    • y: y-axis coordinate; data type: float; unit: cm
    • yaw: heading angle of Magician Go; data type: float; unit: °
  • Example

    result = go.get_odometer_data( )  
    print(result)
    

    Get the current position coordinate and heading angle of Magician Go.

results matching ""

    No results matching ""